// let baseUrl='http://localhost:8899'

let baseUrl = '/api'

export default {
  // 登录
  login: baseUrl + "/user/login",
  getMailCode: baseUrl + "/user/getMailCode",
  mailLogin: baseUrl + "/user/mailLogin",
  getUserName: baseUrl + "/user/getUserName",
  getSuperUserName: baseUrl + "/user/getSuperUserName",
  deleteUser: baseUrl + "/user/deleteUser",
  upUser: baseUrl + "/user/upUser",
  lowUser: baseUrl + "/user/lowUser",
  addUser: baseUrl + "/user/addUser",
  getUser: baseUrl + "/user/getUser",

  // 顾客
  pageGetCustomerLists: baseUrl + "/customer/pageGetCustomerLists",
  pageGetCustomerNameLists: baseUrl + "/customer/pageGetCustomerNameLists",
  deleteCustomer: baseUrl + "/customer/deleteCustomer",
  batchDeleteCustomer: baseUrl + "/customer/batchDeleteCustomer",
  addCustomer: baseUrl + "/customer/addCustomer",
  editCustomer: baseUrl + "/customer/editCustomer",

  // 订单
  pageGetOrderLists: baseUrl + "/order/pageGetOrderLists",
  pageGetPaidOrderLists: baseUrl + "/order/pageGetPaidOrderLists",
  addOrder: baseUrl + "/order/addOrder",
  toBePaid: baseUrl + "/order/toBePaid",
  WaitingList: baseUrl + "/order/WaitingList",
  delivery: baseUrl + "/order/delivery",

  // 正式员工
  getOfficialStaffList: baseUrl + "/staff/getOfficialStaffList",
  pagingOfficialStaffList: baseUrl + "/staff/pagingOfficialStaffList",
  searchOfficialStaffName: baseUrl + "/staff/searchOfficialStaffName",
  addOfficialStaff: baseUrl + "/staff/addOfficialStaff",
  delOfficialStaff: baseUrl + "/staff/delOfficialStaff",
  batchDelOfficialStaff: baseUrl + "/staff/batchDelOfficialStaff",
  searchEntryStaffName: baseUrl + "/staff/searchEntryStaffName",
  pageSearchEntryStaffName: baseUrl + "/staff/pageSearchEntryStaffName",
  updateOfficialStaff: baseUrl + "/staff/updateOfficialStaff",

  // 临时员工
  getTemporaryStaffList: baseUrl + "/staff/getTemporaryStaffList",
  pageGetTemporaryStaffList: baseUrl + "/staff/pageGetTemporaryStaffList",
  searchTemporaryStaffName: baseUrl + "/staff/searchTemporaryStaffName",
  addTemporaryStaff: baseUrl + "/staff/addTemporaryStaff",
  updateTemporaryStaff: baseUrl + "/staff/updateTemporaryStaff",
  batchDeleteTemporaryStaff: baseUrl + "/staff/batchDeleteTemporaryStaff",
  becomeOfficialStaff: baseUrl + "/staff/becomeOfficialStaff",
  searchEntryStaffLists: baseUrl + "/staff/searchEntryStaff",
  pageSearchEntryStaffLists: baseUrl + "/staff/pageSearchEntryStaff",

  // 菜品
  getDishLists: baseUrl + "/dish/searchDishes",
  uploadDish: baseUrl + "/dish/upload",
  editDish: baseUrl + "/dish/editDish",
  selectDishes: baseUrl + "/dish/selectDishes",
}
